InputPanel for WinForms | ComponentOne
C1.Win.4.5.2 Assembly / C1.Win.Drawing Namespace / StringRendererGDIPlus Class / MeasureSubstring Method / MeasureSubstring(Graphics,Font,StringFormat,Rectangle,String,IList<CharacterRange>) Method

In This Topic
    MeasureSubstring(Graphics,Font,StringFormat,Rectangle,String,IList<CharacterRange>) Method
    In This Topic
    Syntax
    'Declaration
     
    Public Overloads Shared Function MeasureSubstring( _
       ByVal graphics As Graphics, _
       ByVal font As Font, _
       ByVal stringFormat As StringFormat, _
       ByVal bounds As Rectangle, _
       ByVal text As String, _
       ByVal substringRanges As IList(Of CharacterRange) _
    ) As Rectangle()
    public static Rectangle[] MeasureSubstring( 
       Graphics graphics,
       Font font,
       StringFormat stringFormat,
       Rectangle bounds,
       string text,
       IList<CharacterRange> substringRanges
    )

    Parameters

    graphics
    font
    stringFormat
    bounds
    text
    substringRanges
    See Also